package com.yanqu.road.entity.servercenter;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_s_system_config")
public class ChannelSystemConfig extends DataObject {
    @FieldTypeAnnotation(desc = "系统Id", select = true, update = true)
    private int systemId;
    @FieldTypeAnnotation(desc = "渠道", select = true, update = true)
    private int channelId;
    @FieldTypeAnnotation(desc = "参数名")
    private String param;
    @FieldTypeAnnotation(desc = "参数值")
    private String value;
    @FieldTypeAnnotation(desc = "修改时间")
    private long modifyTime;

    //cache
    private String description;

    public ChannelSystemConfig() {
    }

    public ChannelSystemConfig(int systemId, String name, String value, int channelId, long modifyTime) {
        this.systemId = systemId;
        this.param = name;
        this.value = value;
        this.channelId = channelId;
        this.modifyTime = modifyTime;
    }

    public int getSystemId() {
        return systemId;
    }

    public int getChannelId() {
        return channelId;
    }


    public String getParam() {
        return param;
    }

    public String getValue() {
        return value;
    }

    public long getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(long modifyTime) {
        this.modifyTime = modifyTime;
    }

    public void setSystemId(int systemId) {
        this.systemId = systemId;
    }

    public void setChannelId(int channelId) {
        this.channelId = channelId;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
